package com.example.helloandroid;
import android.app.Activity;
import android.widget.TextView;
import android.os.Bundle;


public class HelloAndroid extends Activity {
	public HelloAndroid()
	{}
	
	
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        /*This is a "Hello World" Strings in java
         *  
         * TextView tv =new TextView(this);
        tv.setText("Hello World");  
        setContentView(tv);*/
        
        
      setContentView(R.layout.exp_layout);
        
        
        
        
    }
}


/* helloandroid's main using UI, (no XML lauyout)


package com.android.helloandroid;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

public class HelloAndroid extends Activity {
   /* Called when the activity is first created. 
   @Override
   
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       TextView tv = new TextView(this);
       tv.setText("Hello, Android");
       setContentView(tv);
   }
}

*/

